﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using NetAcademia.Web.Mvc;
using System.Web.Mvc;

namespace HtmlLaundryNuget.Models
{
    public class MyData
    {
        [Whitelist("textnek")]
        public string Whitelisted { get; set; }
        [UIHint("Html")]
        public string HtmlHinted { get; set; }
        [DataType(DataType.Html)]
        public string DataTyped { get; set; }
        [AllowHtml]
        public string AllowHtmled { get; set; }

        public MyData()
        {
            Whitelisted = HtmlHinted = DataTyped = AllowHtmled = "This is <b>bold</b> and this is <nothing>nothing</nothing>. That's all folks!";
        }
    }
}